<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>测试图片显示</title>

</head>
<body>
  <!-- 
    nginx配置：
    location ^~/wechat/ {
        proxy_set_header Host $host;
        proxy_set_header  X-Real-IP        $remote_addr;
        proxy_set_header  X-Forwarded-For  $proxy_add_x_forwarded_for;
        proxy_set_header X-NginX-Proxy true;

        rewrite ^/wechat/(.*)$ /$1 break;
        proxy_pass http://172.16.20.211:8888;
    }
    
   -->
  <h1>展示图片</h1>
  <hr><br>
  <h2>添加contextpath 展示结果：</h2>
  <img src="http://192.168.175.180:9001/lms-shipment/transitInfo/mao.png" alt="">
  <hr><br>
  
  <h2>无contextpath 展示结果：</h2>
  <img src="http://192.168.175.180:9000/saaf-file/lms-shipment/transitInfo/mao.png" alt="">

</body>
</html>

<script>
</script>